package dfbz.demo;

public class Test06 {
    public static void main(String[] args) {
    oddAdd();
    }
    public static void oddAdd(){
        int sum=0;
        int count = 0;
        for (int i = 0; i <= 60; i++) {
            if (i!=0&&i%2==0){
                sum+=i;
                System.out.print(" "+sum);
                count++;
                if(count%5==0){
                    System.out.println();
                    count=0;
                }
            }
        }
    }
}
